const M = require("ming_node")


let r= M.readFile("C:/Users/Administrator/Downloads/ming_api_mock.md")
s=r.match(/!\[image.png\](.*)/g).map(d=>{  return d.replace(/\(|\)|(!\[image.png\])/g,"")}).map(u=>u.substr(0,u.indexOf(".png")+4))

console.log(s)

M.writeFile("input.json",JSON.stringify(s))